<?php
class InitCategorySeeder extends Seeder {

    public function run() {
        DB::table('category')->delete();

        $categoryData = array(
            array('name' => '图片类别', 'description' => '针对图片的分类'),
            array('name' => '博客类别', 'description' => '针对博客的分类')
        );

        DB::table('category')->insert($categoryData);

    }
}
